import Vue from 'vue'
import App from './App.vue'
//引入element-ui组件库
import ElementUI from 'element-ui';
//引入element-ui样式
import 'element-ui/lib/theme-chalk/index.css';
//使用element-ui插件
Vue.use(ElementUI);
//
import router from './router/index.js'
Vue.config.productionTip = false
let c=5;
new Vue({
  render: h => h(App),
  router,
  beforeCreate(){
    //注册全局事件总线
    Vue.prototype.$bus=this
  }
}).$mount('#app')
